Buckaroo\Woocommerce\Gateways\Afterpay\AfterpayNewGateway S

Total Complexity 35
Dependencies 5
Dependents 2
Total lines 238
Lines of code 145
Logical lines of code 59
Comment lines 27
Methods 10
Properties 8

Methods 10

Method Rating Maintainability Complexity Lines of code
validate_fields()
A
45 15 39
isAvailableB2B()
S
65 6 8
init_form_fields()
S
44 1 50
process_payment()
S
65 3 8
canShowCaptureForm()
S
67 3 7
is_house_number_invalid()
S
69 2 6
isAvailable()
S
71 2 6
__construct()
S
64 1 10
getServiceCode()
S
82 1 3
setProperties()
S
66 1 8